def fun01(items):
    list = []
    for item in items:
        if item % 2 == 0:
            list.append(item)
    return list
l1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
l2 = fun01(l1)
print(l2)
l3 = list(filter(lambda num:num % 2 == 0,l1))
print(l3)
